package com.peace.hospital.opdept.service.outpatientdept.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.peace.hospital.entity.outpatientdept.Particulars;
import com.peace.hospital.opdept.mapper.outpatientdept.ParticularsMapper;
import com.peace.hospital.opdept.service.outpatientdept.IParticularsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 收费详情表 服务实现类
 * </p>
 *
 * @author 谢晓峰
 * @since 2019-11-11
 */
@Service
public class ParticularsServiceImpl extends ServiceImpl<ParticularsMapper, Particulars> implements IParticularsService {

    @Autowired
    private ParticularsMapper particularsMapper;

    public Particulars findParticularsByParId(Integer parId) {
        System.out.println(particularsMapper.findParticularsByParId(parId));
        return particularsMapper.findParticularsByParId(parId);
    }


}
